package com.bei_en.teacher.admin.model.users.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * 账户
 * @author Guocg
 * @date 2016-7-26 22:44:04
 */
public class UsersCondition extends BaseCondition {
	private String code;
	private String codeId;
    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
	private String password;  // 密码
	@Pattern(regexp = "^[1][34578][0-9]{9}$", message = "手机号码格式错误")
	private String mobilePhone;  // 手机号码
	private Integer userId;  // 用户id
//    private Boolean isDel = false;
	private Integer deBug;
	private MultipartFile[] file;
	@Pattern(regexp = "^[1][34578][0-9]{9}$", message = "手机号码格式错误")
	private String mobilePhoneNew;
	private String passwordNew;
	private String name;
	private Integer gender;
	private Integer status;  // 账户状态1是正常，2是删除
	private Integer educationId;  // 学段
	private Integer subjectId;  // 科目
	private Integer	provinceId;
	private Integer	cityId;
	private 	Integer areaId;
	
    public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getEducationId() {
		return educationId;
	}

	public void setEducationId(Integer educationId) {
		this.educationId = educationId;
	}

	public Integer getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public MultipartFile[] getFile() {
		return file;
	}

	public void setFile(MultipartFile[] file) {
		this.file = file;
	}

	public Integer getDeBug() {
		return deBug;
	}

	public void setDeBug(Integer deBug) {
		this.deBug = deBug;
	}

	public String getMobilePhoneNew() {
		return mobilePhoneNew;
	}

	public void setMobilePhoneNew(String mobilePhoneNew) {
		this.mobilePhoneNew = mobilePhoneNew;
	}

	public String getPasswordNew() {
		return passwordNew;
	}

	public void setPasswordNew(String passwordNew) {
		this.passwordNew = passwordNew;
	}

	public Integer getUserId() {
		return userId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodeId() {
		return codeId;
	}

	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public Date getCreateTime1() {

	return createTime1;
    }

    public void setCreateTime1(Date createTime1) {

	this.createTime1 = createTime1;
    }

    public Date getCreateTime2() {

	return createTime2;
    }

    public void setCreateTime2(Date createTime2) {

	this.createTime2 = createTime2;
    }

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}